package oo2;

public class TestCar {

	public static void main(String[] args) {
		Driver d = new Driver("老吴");
		Car c = new Car("阿斯顿-马丁");
		d.drive(c);
		System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>");
		Bus b = new Bus("118");
		d.drive(b);
		System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>.");
		d.drive(new Car("江淮和悦A30"));
		// c.run();
	}

}
